<?php

namespace App\Admin\Validate\Manger;

use App\Admin\Validate\BaseValidate;

/**
 * 权限组验证器
 */
class Company extends BaseValidate
{
    //验证规则
    protected $rule = [
        'company_name' => 'required',
        'other_title' => 'required',
        // 'cpd_id'=>'required'
    ];
    //自定义验证信息
    protected $message = [
        'company_name.required' => '公司名称不能为空',
        'other_title.required' => '账套名称不能为空',
        'cpd_id.required' => '钉钉账套不能为空',
    ];
}
